<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        .info-show{
            width:500px;
            padding: 20px;
            border: 1px solid #ccc;
            margin: 100px auto;/*上下100px 左右居中*/
            overflow: hidden;/*清除浮动*/
        }
        .head-sculpture{
            float: left;
            text-align: center;
        }
        .head-sculpture .photo{
            width: 150px;
            height: 200px;
            border: 1px solid #ccc;
            /*text-align: center;/*只能实现文字居中*/
            /* display: table-cell;转变成表格形式*/
            /*vertical-align: middle;/*设置垂直居中 */
            line-height: 200px;
            margin-right: 10px;
            background-color: #eee;
        } 
        .name{
            margin:10px 0 0 ;
        }
        .description{
            float: right;
            width: 300px;/*不包括padding和margin*/
            height: 190px;
            border: 1px solid #ccc;
            padding: 10px 0 0 20px;
        }
    </style>
</head>
<body>
    <!-- .info-show>(.head-sculpture>.photo+.name)(.description) -->
    <!-- .a>(.b>.c+.e)(.d>.g+.f) emmit语法-->
    <div class="info-show">
        <div class="head-sculpture">
            <div class="photo">头像</div>
            <div class="name">姓名</div>
        </div>
        <div class="description">自我描述</div>
    </div>
</body>
</html>